package org.pcorp.battlespace.modele;

import java.util.List;

import org.pcorp.battlespace.modele.type.IntTypeVaissStruct;


public class TypeVaisseau extends Element {
	private String description;
	private IntTypeVaissStruct structureIM;
	private long masseMin;
	private long masseMax;
	private List<String> typesArmementsAuthorises;
	
	public IntTypeVaissStruct getStructureIM() {
		return structureIM;
	}

	public void setStructureIM(IntTypeVaissStruct structureIM) {
		this.structureIM = structureIM;
	}
	
	public TypeVaisseau() {
		super();
	}

	public TypeVaisseau(long id, String nom, Coordonne coord) {
		super(id, nom, coord);
	}

	public TypeVaisseau(long id, String nom, String code) {
		super(id, nom, code);
	}

	public TypeVaisseau(long id, String nom) {
		super(id, nom);
	}
	
	public TypeVaisseau(long id, String nom, String code, String description) {
		super(id, nom, code);
		this.description = description;
	}

	
	
	public TypeVaisseau(long id, String nom, String code, String description, IntTypeVaissStruct structureIM, long masseMin, long masseMax) {
		super(id, nom, code);
		this.description = description;
		this.structureIM = structureIM;
		this.masseMin = masseMin;
		this.masseMax = masseMax;
	}

	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String getLabel() {
		return nom;
	}

	public long getMasseMin() {
		return masseMin;
	}

	public void setMasseMin(long masseMin) {
		this.masseMin = masseMin;
	}

	public long getMasseMax() {
		return masseMax;
	}

	public void setMasseMax(long masseMax) {
		this.masseMax = masseMax;
	}

	public List<String> getTypesArmementsAuthorises() {
		return typesArmementsAuthorises;
	}

	public void setTypesArmementsAuthorises(List<String> typesArmementsAuthorises) {
		this.typesArmementsAuthorises = typesArmementsAuthorises;
	}
	
	
}
